package com.itheima.edu.info.manager.factory;

import com.itheima.edu.info.manager.dao.TeacherDao;

public class TeacherFactory {
    //注意: 当方法的返回值类型是一个接口类型时,方法中需要返回的是该接口的实现类对象
    public static TeacherDao getTeacherDao() {
        return new TeacherDao();
    }
}
